log/slog.commonHandler.json (field)
19 uses
log/slog (current package)
handler.go#L102: ch: &commonHandler{json: false},
handler.go#L192: json bool // true => output JSON; false => output text
handler.go#L208: json: h.json,
handler.go#L242: if h2.json && pfa[len(pfa)-1] == '{' {
handler.go#L272: if h.json {
handler.go#L331: if s.h.json && pfa[len(pfa)-1] == '{' {
handler.go#L360: if s.h.json {
handler.go#L372: if h.json {
handler.go#L433: if s.h.json {
handler.go#L449: if s.h.json {
handler.go#L497: if s.h.json {
handler.go#L543: if s.h.json {
handler.go#L555: case s.h.json:
handler.go#L570: if s.h.json {
handler.go#L603: if s.h.json {
handler.go#L614: if s.h.json {
json_handler.go#L37: json: true,
text_handler.go#L34: json: false,
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)